<script setup lang='ts'>
const emit = defineEmits(['click'])
</script>

<template>
<div class='edit-button'>
 <van-button type='primary' size='small' @click="() => emit('click')"
 >编辑</van-button>
</div>
</template>

<style lang='scss' scope>
.edit-button{
  
}
</style>